package com.system.entity;

import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.CrossOrigin;

import java.io.Serializable;

@CrossOrigin
@Component
public class Course implements Serializable {
    private Integer course_coding;

    private String course_name;

    private Double credit;

    private String course_character;

    public Course(Integer courseCoding, String courseName, Double credit, String courseCharacter) {
        this.course_coding = courseCoding;
        this.course_name = courseName;
        this.credit = credit;
        this.course_character = courseCharacter;
    }

    public Course() {
        super();
    }

    public Integer getCourse_coding() {
        return course_coding;
    }

    public void setCourse_coding(Integer course_coding) {
        this.course_coding = course_coding;
    }

    public String getCourse_name() {
        return course_name;
    }

    public void setCourse_name(String course_name) {
        this.course_name = course_name;
    }

    public Double getCredit() {
        return credit;
    }

    public void setCredit(Double credit) {
        this.credit = credit;
    }

    public String getCourse_character() {
        return course_character;
    }

    public void setCourse_character(String course_character) {
        this.course_character = course_character;
    }
//    public Integer getCourseCoding() {
//        return course_coding;
//    }
//
//    public void setCourseCoding(Integer courseCoding) {
//        this.course_coding = courseCoding;
//    }
//
//    public String getCourseName() {
//        return course_name;
//    }
//
//    public void setCourseName(String courseName) {
//        this.course_name = courseName == null ? null : courseName.trim();
//    }
//
//    public Double getCredit() {
//        return credit;
//    }
//
//    public void setCredit(Double credit) {
//        this.credit = credit;
//    }
//
//    public String getCourseCharacter() {
//        return course_character;
//    }
//
//    public void setCourseCharacter(String courseCharacter) {
//        this.course_character = courseCharacter == null ? null : courseCharacter.trim();
//    }
}
